﻿using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace TransCend.Result
{
    [Serializable]
    public class ListResult<T> : Result where T : IDictionary
    {
        public ListResult()
        {

        }

        public ListResult(IList<T> rows)
        {
            this.rows = rows;
            success = true;
        }

        public IList<T> rows
        {
            set;
            get;
        }

        public override object ToJsonObject()
        {
            return rows;
        }

        public bool isMsg { set; get; }
    }
}
